FTP=`which ftp`
LOCALDIR=/srv/backups
REMOTEDIR=epsilon
FTPSERVER=10.1.2.155
FTPUSER=usbackup
FTPPW='bk#18jan08'

$FTP -in <<EOF
open $FTPSERVER
user $FTPUSER $FTPPW
bin
cd $REMOTEDIR
lcd $LOCALDIR
mput *
bye
EOF
